package com.dsp.services.impl;


import java.io.Serializable;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.core.util.GenericDAO;
import com.core.util.GenericServiceHibernate;
import com.dsp.bean.National;
import com.dsp.dao.NationalDAO;
import com.dsp.services.NationalService;

@Service("nationalService")
public class NationalServiceImpl extends GenericServiceHibernate<National, Long> implements NationalService {

	private NationalDAO nationalDAO;
	
	@Resource(name = "nationalDAO")
	public void setDao(GenericDAO<National , Serializable> dao){
		super.setDao(dao);
	}
	
	/**
	 * @return the nationalDAO
	 */
	public NationalDAO getNationalDAO() {
		return nationalDAO;
	}

	/**
	 * @param nationalDAO the nationalDAO to set
	 */
	public void setNationalDAO(NationalDAO nationalDAO) {
		this.nationalDAO = nationalDAO;
	}

}
